package com.xiaoyang.dto;

/**
 * @author guoziyang
 * @create 2020/9/21 2:44 下午
 */
public class ResultDTO {

    private Integer code;
    private String message;

    public ResultDTO() {
        this.code = 200;
        this.message = "登录成功";
    }

    public ResultDTO(Integer code, String message){
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
